package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.SendGiftResponse;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/8/12.
 */

public interface SendGiftRequest {
    @POST("sendgift_post")
    @FormUrlEncoded
    Observable<BaseModel<SendGiftResponse>> getResult(@Query("token") String token,
                                                      @Field("type") int type,
                                                      @Field("per_amount") String per_amount,
                                                      @Field("amount") String amount,
                                                      @Field("numbers") int numbers,
                                                      @Field("desc") String desc,
                                                      @Field("user_id") String user_id,
                                                      @Field("to_user_id") String to_user_id,
                                                      @Field("room_id") String room_id,
                                                      @Field("password") String password);
}
